{include file="header.html"}
<div id="page_main" class="main-right">
  <div id="rightTop">
    <p>{$lang.store_manage}</p>
    <ul class="subnav">
      <li><a class="btn1" href="{url route='store/index'}">{$lang.store_list}</a></li>
      <li><a class="btn1" href="{url route='store/index' state='applying'}">{$lang.applying}</a></li>
      <li><span>{$lang.batch_edit}</span></li>
    </ul>
  </div>
  <div class="info">
    <form method="post">
      <table class="infoTable">
        <tr>
          <th class="paddingT15">{$lang.scategory}:</th>
          <td class="paddingT15 wordSpacing5" ><select name="cate_id">
              <option value="0">{$lang.select_pls}</option>
              
                {html_options options=$scategories selected=$store.scate_id}
        
            </select></td>
        </tr>
        <tr>
          <th class="paddingT15"> {$lang.region}:</th>
          <td class="paddingT15 wordSpacing5" ><div id="region">
              <input type="hidden" name="region_id" value="0" class="mls_id" />
              <input type="hidden" name="region_name" value="" class="mls_names" />
              <select>
                <option value="0">{$lang.select_pls}</option>
                
              {html_options options=$regions}
            
              </select>
              <span class="grey">{$lang.note_for_select}</span> </div></td>
        </tr>
        <tr>
          <th class="paddingT15"> <label for="sgrade"> {$lang.sgrade}: </label>
          </th>
          <td class="paddingT15 wordSpacing5"><select name="sgrade" id="sgrade">
              <option value="0">{$lang.select_pls}</option>
              
          {html_options options=$sgrades}
          
            </select>
            <span class="grey">{$lang.note_for_select}</span></td>
        </tr>
        <tr>
          <th class="paddingT15">{$lang.certification}:</th>
          <td class="paddingT15 wordSpacing5"><p>
              <label>
                <input name="certification" type="radio" value="0" checked="checked" />
                {$lang.no_change}</label>
              <label>
                <input type="radio" name="certification" value="1" />
                {$lang.change_to}</label>
              (
              <label for="autonym">
                <input type="checkbox" name="autonym" id="autonym" value="1" class="certification" disabled="disabled" />
                {$lang.autonym}</label>
              <label for="material">
                <input type="checkbox" name="material" id="material" value="1" class="certification" disabled="disabled" />
                {$lang.material}</label>
              ) </p></td>
        </tr>
        <tr>
          <th class="paddingT15">{$lang.recommend}:</th>
          <td class="paddingT15 wordSpacing5"><p>
              <label>
                <input name="recommended" type="radio" value="-1" checked="checked" />
                {$lang.no_change}</label>
              <label>
                <input type="radio" name="recommended" value="1" />
                {$lang.yes}</label>
              <label>
                <input type="radio" name="recommended" value="0" />
                {$lang.no}</label>
            </p></td>
        </tr>
        <tr>
          <th class="paddingT15">{$lang.sort_order}:</th>
          <td class="paddingT15 wordSpacing5"><input class="sort_order" name="sort_order" type="text" id="sort_order" />
            <span class="grey">{$lang.note_for_input}</span></td>
        </tr>
        <tr>
          <th></th>
          <td class="ptb20"><input class="formbtn J_AjaxSubmit" type="submit" value="{$lang.submit}" /></td>
        </tr>
      </table>
    </form>
  </div>
</div>
<script type="text/javascript">
$(function(){
    regionInit("region");
    $(":radio[name='certification']").click(function(){
        $(".certification:checkbox").attr('disabled', this.value == 0);
    });
});
</script> 
{include file="footer.html"}